Change in openvpn[master]: Make read/write_tun_header static
A message that is not in the archive (sent off-list or not yet received): gerrit.1726491830000.I028634dba74a273c725b0beb16b674897b3c23fa@...2715...
Attention is currently required from: flichtenheld.
Hello flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/745?usp=email
to review the following change.
Change subject: Make read/write_tun_header static
......................................................................
Make read/write_tun_header static
These functions are not used outside tun.c
---
M src/openvpn/tun.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/45/745/1
src/openvpn/tun.c +2 -2
@@ -1822,7 +1822,7 @@ } } -int +static int write_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
@@ -1855,7 +1855,7 @@ } } -int +static int read_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
Signature · 13 lines
To view, visit http://gerrit.openvpn.net/c/openvpn/+/745?usp=email To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I028634dba74a273c725b0beb16b674897b3c23fa Gerrit-Change-Number: 745 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos <[email protected]...> Gerrit-Reviewer: flichtenheld <[email protected]...> Gerrit-CC: openvpn-devel <[email protected]> Gerrit-Attention: flichtenheld <[email protected]...> Gerrit-MessageType: newchange
Attention is currently required from: flichtenheld, plaisthos.
cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/745?usp=email )
Change subject: Make read/write_tun_header static
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
straightforward, makes sense
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/745?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I028634dba74a273c725b0beb16b674897b3c23fa
Gerrit-Change-Number: 745
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Mon, 16 Sep 2024 13:32:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH 1/1 Make read/write_tun_header static
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
These functions are not used outside tun.c
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/745
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>
src/openvpn/tun.c +2 -2
@@ -1822,7 +1822,7 @@ } } -int +static int write_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
@@ -1855,7 +1855,7 @@ } } -int +static int read_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
[Openvpn-devel] [PATCH applied] Re: Make read/write_tun_header static
Verified that it's not used outside tun.c, test built OpenBSD (which uses this).
Your patch has been applied to the master branch.
commit ac3a7fd93542420f12d58e5c7490076b5741fb5a
Author: Arne Schwabe Date: Mon Sep 16 15:34:35 2024 +0200
Make read/write_tun_header static
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
Signed-off-by: Gert Doering <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29249.html--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#3) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/745?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by cron2
Change subject: Make read/write_tun_header static
......................................................................
Make read/write_tun_header static
These functions are not used outside tun.c
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29249.html
---
M src/openvpn/tun.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/45/745/3
src/openvpn/tun.c +2 -2
@@ -1792,7 +1792,7 @@ } } -int +static int write_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
@@ -1825,7 +1825,7 @@ } } -int +static int read_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/745?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I028634dba74a273c725b0beb16b674897b3c23fa
Gerrit-Change-Number: 745
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/745?usp=email )
Change subject: Make read/write_tun_header static
......................................................................
Make read/write_tun_header static
These functions are not used outside tun.c
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29249.html
---
M src/openvpn/tun.c
1 file changed, 2 insertions(+), 2 deletions(-)
src/openvpn/tun.c +2 -2
@@ -1792,7 +1792,7 @@ } } -int +static int write_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
@@ -1825,7 +1825,7 @@ } } -int +static int read_tun_header (struct tuntap *tt,uint8_t *buf,int len) {if (tt->type ==DEV_TYPE_TUN )
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/745?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I028634dba74a273c725b0beb16b674897b3c23fa
Gerrit-Change-Number: 745
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged